package com.example.webfluxdemo.domain;

import java.math.BigDecimal;

import lombok.EqualsAndHashCode;
import org.springframework.data.relational.core.mapping.Table;

import lombok.Data;

@EqualsAndHashCode(callSuper = true)
@Data
@Table("ad_space_platform_config")
public class AdSpacePlatformConfigEntity extends BaseEntity {
    private Integer adPlatformType;
	private String adPlatformMediaId;
	private String adPlatformMediaKey;
	private String adPlatformAdSpaceId;
	private String appName;
	private String appVersion;	// 媒体版本; "版本号,比例"; 多个用||分隔
	private String packageName;
	private Integer width;
	private Integer height;
	private Integer priority;
	private Integer weight;
	private Integer adTemplateId;
	private String remark;
	private Integer adSpaceId;
	private Integer adxBidType;			// 计费方式，1-cpm，2-cpc
	private BigDecimal adxBidPrice;		// 出价
	private BigDecimal dspCpm;
	private BigDecimal dspCpc;
	private Integer mainId;			// 对应MainAdSpacePlatformConfigEntity的id，用于查询并发子配置表(MainAdSpacePlatformSubConfig)
	private Integer distribute;		// 分发方式，1-常规，2-并发
	private Integer requestType;	// 针对SDK; 1-瀑布流，2-并发；
	private Integer timeout;		// 针对SDK; 请求超时时长; 0为不限; 单位: ms
	private Integer groupOrder;		// 针对SDK；并发配置排序字段
}
